[INFO] cloning repository https://github.com/johnsoneyo/rust-ledger-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnsoneyo/rust-ledger-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnsoneyo%2Frust-ledger-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnsoneyo%2Frust-ledger-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fdf7562f4f190d2423a12bd318d2222c4f1b41e9
[INFO] fixing johnsoneyo/rust-ledger-api against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnsoneyo%2Frust-ledger-api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/johnsoneyo/rust-ledger-api
[INFO] finished tweaking git repo https://github.com/johnsoneyo/rust-ledger-api
[INFO] tweaked toml for git repo https://github.com/johnsoneyo/rust-ledger-api written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/johnsoneyo/rust-ledger-api on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/johnsoneyo/rust-ledger-api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8a14756cd3bff1fb2a6798a0b9149cbfd7ea10b53aa0833bfe87b9db7eed6dd8
[INFO] running `Command { std: "docker" "start" "8a14756cd3bff1fb2a6798a0b9149cbfd7ea10b53aa0833bfe87b9db7eed6dd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8a14756cd3bff1fb2a6798a0b9149cbfd7ea10b53aa0833bfe87b9db7eed6dd8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8a14756cd3bff1fb2a6798a0b9149cbfd7ea10b53aa0833bfe87b9db7eed6dd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8a14756cd3bff1fb2a6798a0b9149cbfd7ea10b53aa0833bfe87b9db7eed6dd8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling typenum v1.20.0
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]    Compiling rust_decimal v1.42.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling uuid v1.23.1
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking tower-http v0.6.10
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking ledger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/accounts.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     sqlx::query!(
[INFO] [stdout] 22 | |         r#"
[INFO] [stdout] 23 | |         INSERT INTO accounts (id, owner)
[INFO] [stdout] 24 | |         VALUES ($1, $2)
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         owner
[INFO] [stdout] 28 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/accounts.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let account_exists = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 41 | |         r#"SELECT EXISTS(SELECT 1 FROM accounts WHERE id = $1) as "exists!""#,
[INFO] [stdout] 42 | |         id
[INFO] [stdout] 43 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/accounts.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 53 | |         BalanceResponse,
[INFO] [stdout] 54 | |         r#"
[INFO] [stdout] 55 | |         SELECT COALESCE(SUM(amount), 0) as "balance!" FROM ledger_entries WHERE account_id = $1
[INFO] [stdout] 56 | |         "#,
[INFO] [stdout] 57 | |         id
[INFO] [stdout] 58 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/ledger.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"
[INFO] [stdout] 34 | |         INSERT INTO ledger_entries (id, account_id, amount, reference_id, created_at)
[INFO] [stdout] 35 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 41 | |         now
[INFO] [stdout] 42 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/ledger.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let entries = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 67 | |         LedgerEntry,
[INFO] [stdout] 68 | |         r#"
[INFO] [stdout] 69 | |         SELECT id, account_id, amount, reference_id, created_at as "created_at!"
[INFO] [stdout] ...  |
[INFO] [stdout] 74 | |         account_id
[INFO] [stdout] 75 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/transfer.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     sqlx::query!(
[INFO] [stdout] 57 | |         r#"SELECT pg_advisory_xact_lock(hashtext($1))"#,
[INFO] [stdout] 58 | |         payload.idempotency_key
[INFO] [stdout] 59 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/transfer.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |       let existing_debit = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 65 | |         r#"
[INFO] [stdout] 66 | |         SELECT account_id, amount
[INFO] [stdout] 67 | |         FROM ledger_entries
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         debit_reference
[INFO] [stdout] 71 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/transfer.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |       let existing_credit = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 77 | |         r#"
[INFO] [stdout] 78 | |         SELECT account_id, amount
[INFO] [stdout] 79 | |         FROM ledger_entries
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |         credit_reference
[INFO] [stdout] 83 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:112:26
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let accounts_count = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 113 | |         r#"
[INFO] [stdout] 114 | |         SELECT COUNT(*) as "count!"
[INFO] [stdout] 115 | |         FROM accounts
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         payload.to
[INFO] [stdout] 120 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     sqlx::query!(
[INFO] [stdout] 134 | |         r#"SELECT pg_advisory_xact_lock(hashtext($1))"#,
[INFO] [stdout] 135 | |         payload.from.to_string()
[INFO] [stdout] 136 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:141:27
[INFO] [stdout]     |
[INFO] [stdout] 141 |       let current_balance = sqlx::query_scalar!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 142 | |         r#"
[INFO] [stdout] 143 | |         SELECT COALESCE(SUM(amount), 0) as "balance!"
[INFO] [stdout] 144 | |         FROM ledger_entries
[INFO] [stdout] ...   |
[INFO] [stdout] 147 | |         payload.from
[INFO] [stdout] 148 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | /     sqlx::query!(
[INFO] [stdout] 160 | |         r#"
[INFO] [stdout] 161 | |         INSERT INTO ledger_entries (id, account_id, amount, reference_id, created_at)
[INFO] [stdout] 162 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 168 | |         now
[INFO] [stdout] 169 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 | /     sqlx::query!(
[INFO] [stdout] 175 | |         r#"
[INFO] [stdout] 176 | |         INSERT INTO ledger_entries (id, account_id, amount, reference_id, created_at)
[INFO] [stdout] 177 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 183 | |         now
[INFO] [stdout] 184 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/accounts.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | /     sqlx::query!(
[INFO] [stdout] 22 | |         r#"
[INFO] [stdout] 23 | |         INSERT INTO accounts (id, owner)
[INFO] [stdout] 24 | |         VALUES ($1, $2)
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         owner
[INFO] [stdout] 28 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/accounts.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let account_exists = sqlx::query_scalar!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 41 | |         r#"SELECT EXISTS(SELECT 1 FROM accounts WHERE id = $1) as "exists!""#,
[INFO] [stdout] 42 | |         id
[INFO] [stdout] 43 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/accounts.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |       let result = sqlx::query_as!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 53 | |         BalanceResponse,
[INFO] [stdout] 54 | |         r#"
[INFO] [stdout] 55 | |         SELECT COALESCE(SUM(amount), 0) as "balance!" FROM ledger_entries WHERE account_id = $1
[INFO] [stdout] 56 | |         "#,
[INFO] [stdout] 57 | |         id
[INFO] [stdout] 58 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/ledger.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 33 | |         r#"
[INFO] [stdout] 34 | |         INSERT INTO ledger_entries (id, account_id, amount, reference_id, created_at)
[INFO] [stdout] 35 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...  |
[INFO] [stdout] 41 | |         now
[INFO] [stdout] 42 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/ledger.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let entries = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 67 | |         LedgerEntry,
[INFO] [stdout] 68 | |         r#"
[INFO] [stdout] 69 | |         SELECT id, account_id, amount, reference_id, created_at as "created_at!"
[INFO] [stdout] ...  |
[INFO] [stdout] 74 | |         account_id
[INFO] [stdout] 75 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/transfer.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     sqlx::query!(
[INFO] [stdout] 57 | |         r#"SELECT pg_advisory_xact_lock(hashtext($1))"#,
[INFO] [stdout] 58 | |         payload.idempotency_key
[INFO] [stdout] 59 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/transfer.rs:64:26
[INFO] [stdout]    |
[INFO] [stdout] 64 |       let existing_debit = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 65 | |         r#"
[INFO] [stdout] 66 | |         SELECT account_id, amount
[INFO] [stdout] 67 | |         FROM ledger_entries
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         debit_reference
[INFO] [stdout] 71 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/transfer.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 76 |       let existing_credit = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 77 | |         r#"
[INFO] [stdout] 78 | |         SELECT account_id, amount
[INFO] [stdout] 79 | |         FROM ledger_entries
[INFO] [stdout] ...  |
[INFO] [stdout] 82 | |         credit_reference
[INFO] [stdout] 83 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:112:26
[INFO] [stdout]     |
[INFO] [stdout] 112 |       let accounts_count = sqlx::query_scalar!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 113 | |         r#"
[INFO] [stdout] 114 | |         SELECT COUNT(*) as "count!"
[INFO] [stdout] 115 | |         FROM accounts
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         payload.to
[INFO] [stdout] 120 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     sqlx::query!(
[INFO] [stdout] 134 | |         r#"SELECT pg_advisory_xact_lock(hashtext($1))"#,
[INFO] [stdout] 135 | |         payload.from.to_string()
[INFO] [stdout] 136 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:141:27
[INFO] [stdout]     |
[INFO] [stdout] 141 |       let current_balance = sqlx::query_scalar!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 142 | |         r#"
[INFO] [stdout] 143 | |         SELECT COALESCE(SUM(amount), 0) as "balance!"
[INFO] [stdout] 144 | |         FROM ledger_entries
[INFO] [stdout] ...   |
[INFO] [stdout] 147 | |         payload.from
[INFO] [stdout] 148 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | /     sqlx::query!(
[INFO] [stdout] 160 | |         r#"
[INFO] [stdout] 161 | |         INSERT INTO ledger_entries (id, account_id, amount, reference_id, created_at)
[INFO] [stdout] 162 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 168 | |         now
[INFO] [stdout] 169 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 | /     sqlx::query!(
[INFO] [stdout] 175 | |         r#"
[INFO] [stdout] 176 | |         INSERT INTO ledger_entries (id, account_id, amount, reference_id, created_at)
[INFO] [stdout] 177 | |         VALUES ($1, $2, $3, $4, $5)
[INFO] [stdout] ...   |
[INFO] [stdout] 183 | |         now
[INFO] [stdout] 184 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         sqlx::query!(
[INFO] [stdout] 230 | |             r#"INSERT INTO accounts (id, owner) VALUES ($1, $2)"#,
[INFO] [stdout] 231 | |             id,
[INFO] [stdout] 232 | |             owner
[INFO] [stdout] 233 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 | /         sqlx::query!(
[INFO] [stdout] 243 | |             r#"
[INFO] [stdout] 244 | |             INSERT INTO ledger_entries (id, account_id, amount, reference_id, created_at)
[INFO] [stdout] 245 | |             VALUES ($1, $2, $3, $4, now())
[INFO] [stdout] ...   |
[INFO] [stdout] 250 | |             reference_id
[INFO] [stdout] 251 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 | /         sqlx::query_scalar!(
[INFO] [stdout] 259 | |             r#"
[INFO] [stdout] 260 | |             SELECT COALESCE(SUM(amount), 0) as "balance!"
[INFO] [stdout] 261 | |             FROM ledger_entries
[INFO] [stdout] ...   |
[INFO] [stdout] 264 | |             account_id
[INFO] [stdout] 265 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/handlers/transfer.rs:302:27
[INFO] [stdout]     |
[INFO] [stdout] 302 |           let entry_count = sqlx::query_scalar!(
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 303 | |             r#"SELECT COUNT(*) as "count!" FROM ledger_entries WHERE reference_id LIKE 'duplicate-key:%'"#
[INFO] [stdout] 304 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ledger` (bin "ledger") due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ledger` (bin "ledger" test) due to 17 previous errors
[INFO] running `Command { std: "docker" "inspect" "8a14756cd3bff1fb2a6798a0b9149cbfd7ea10b53aa0833bfe87b9db7eed6dd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a14756cd3bff1fb2a6798a0b9149cbfd7ea10b53aa0833bfe87b9db7eed6dd8", kill_on_drop: false }`
[INFO] [stdout] 8a14756cd3bff1fb2a6798a0b9149cbfd7ea10b53aa0833bfe87b9db7eed6dd8
